package com.jcsz.gulimall.auth.feign;

import com.jcsz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @className: ThirdFeignService
 * @author: 一把Po吉他
 * @date: 2022/11/8 11:27
 * @version: 1.0
 **/
@FeignClient("gulimall-third-party")
public interface ThirdFeignService {
    @GetMapping("/sms/sendCode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
